#include <iostream>
#include<cstring>
using namespace std;
int main()
{
    int* p = (int*)malloc(40);
    if (p == NULL)
    {
        perror("malloc");
        return 1;
    }
    int i = 0;
    for (i = 0; i < 10; i++)
    {
        p[i] = i + 1;
    }




}